package net.wang.concurrency.test.threadLocal;

public class RequstHolder {
    private static final ThreadLocal<Long> local = new ThreadLocal<>();

    public static void add(Long id) {
        local.set(id);
    }

    public static Long get() {
        return local.get();
    }

    public static void remove() {
        local.remove();
    }
}
